package List;

public class Test {
    public static void main(String[] args) {
        MySingedLinkedList list = new MySingedLinkedList();
        list.addFirst(50);
        list.addFirst(40);
        list.addFirst(30);
        list.addFirst(20);
        list.addLast(10);
        list.addIndex(1,80);
        list.remove(10);
        if(list.contains(30)){
            System.out.println("包含此数：30");
        }
        else{
            System.out.println("不包含此数");
        }
        list.display();
        System.out.println(list.size());
    }
}
